package cn.shadow.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

@Repository
public interface AccountMapper {
    @Update("update account set `count`=count+#{count} where id=#{id}")
    void changeNum(@Param("count") long count, @Param("id") String id);
}
